srcdir=.
top_srcdir=../..

RAW=results.Guile

data.csv: $(RAW)
	grep CSVLINE $< | cut -d+ -f3- > $@

# So that we regenerate the graph when the charting library changes.
CHART=$(top_srcdir)/charting.scm $(top_srcdir)/charting/draw.scm

TITLE="Speedups in Guile 3: Microbenchmarks"

all.png: data.csv $(CHART) perf-chart.scm
	../../env guile $(srcdir)/perf-chart.scm $(TITLE) $@ data.csv
